#ifndef TANK_INFO_FUNCTIONS_H
#define TANK_INFO_FUNCTIONS_H

bool is_our_fast_tank_alive(json::Object);
bool is_our_slow_tank_alive(json::Object);
bool is_enemy_fast_tank_alive(json::Object);
bool is_enemy_slow_tank_alive(json::Object);
/*

if (is_our_fast_tank_alive(game_state))
{
our_fast_tank_shoot(command_channel, game_state, client_token);
}

*/
std::stringstream our_fast_tank_position(json::Object);
std::stringstream enemy_fast_tank_position(json::Object);
std::stringstream our_slow_tank_position(json::Object);
std::stringstream enemy_slow_tank_position(json::Object);
/*

int x, y;
our_fast_tank_position(game_state) >> x >> y;

*/
double our_fast_tank_direction(json::Object);
double enemy_fast_tank_direction(json::Object);
double our_slow_tank_direction(json::Object);
double enemy_slow_tank_direction(json::Object);
/*

double degrees; // 0 degrees is horizontal and to the right
degrees = our_fast_tank_direction(game_state);

*/
double our_fast_tank_turret_direction(json::Object);
double enemy_fast_tank_turret_direction(json::Object);
double our_slow_tank_turret_direction(json::Object);
double enemy_slow_tank_turret_direction(json::Object);
/*

double degrees; // 0 degrees is horizontal and to the right
degrees = our_fast_tank_turret_direction(game_state);

*/
std::vector<std::vector<double>> all_projectiles(json::Object);
/*
json::Array projectiles = all_projectiles(game_state);
*/
std::string get_enemy_name();
void set_enemy_name(json::Object game_state);

#endif